import Vue from 'vue'
import Element from 'element-ui'
//1.将element设置回中文
// import locale from 'element-ui/lib/locale/lang/en'

Vue.use(Element)

//2. Vue.use(Element, { locale })
//相当于 Vue.use(Element, { locale:locale(这是1) })


